package com.qf.week1.day05;

public class Demo1 {

    public static void main(String[] args) {
        int[] array = {64, 34, 25, 12, 22, 11, 90};
        Cat cat2 = new Cat("小白",3,"母","黄","金渐层",100,10);
        System.out.println(cat2.name+"的心情是："+cat2.happy);
        cat2.bubbleSort(array);
        System.out.print(cat2.name+"冒泡的结果是:");
        for (int i : array) {
            System.out.print(i + " ");
        }
        System.out.println();
        cat2.eat();


    }
}